package com.haipumi.biz;


import com.haipumi.beans.haipumi_skin;
import com.haipumi.beans.haipumi_user;

public interface IUserBiz {
	/**
	 * 传入一个user对象，进行登录操作
	 * @param user
	 * @return
	 */
	public haipumi_user login(haipumi_user user);
	
	/**
	 * 传入一个user对象，判断用户的存在与否，调用db，插入用户的值
	 * @param user
	 * @return
	 */
	public haipumi_user adduser(haipumi_user user);
	
	public haipumi_user changePwd(haipumi_user user);
	
	public haipumi_user findUser(String ulogon);
	
	public boolean activateUser(String ulogon);
	
	public haipumi_user findUnActivate(String ulogon);
	
	public boolean sendMail(haipumi_user user,String localhref);
	
	public haipumi_user newlogin(haipumi_user user);
	
	public boolean savebaseinfo(haipumi_user user);
	
	public haipumi_skin changebackground(int uid,int sid);
	
	public boolean saveTel(int uid,String uqq,String utel);
	
}
